var Radio=require("./Radio.js");
//“music radio” “FM 106.7 opened”
var obj={"type":"music radio","num":"FM 106.7 "};
var radio=new Radio(obj);
radio.on("play",()=>{
    radio.play();
    setTimeout(()=>{
    console.log("lalala...");
},2000);
});
radio.on("stop",()=>{
    radio.stop();
});

radio.emit("play"); 
setTimeout(()=>{
    radio.emit("stop");
},3000);//事件触发 

